<ion-view title="我的" hide-nav-bar="true">
  <ion-content padding="false" style=" ">
    <div class=" u_user">
      <div class="u_user_bgimg">
        <img ng-src="{{userData.headPic==null?'img/tx.png':userData.headPic}}"  onload="imgonloadjqthumb(this)" alt="">
      </div>
      <div style="background:rgba(209, 230, 229,0.5);height:100%">
        <div style="overflow: hidden;{{config.isIOS&&config.isWebView?'padding-top:0px;':''}}"> <i class="icon ion-ios-gear" ui-sref="setting"></i>
          <i class="icon ion-ios-chatbubble"  ng-click="gomessagelist()" style="float:right;position: relative;"><b class="u_messagetip" style="  display: none;  position: absolute;width: 6px;height: 6px;top: 2px;right: 6px;content: '';background-color: red;border-radius: 50%;"></b></i>
        </div>
        <img class="u_tximg" ng-src="{{userData.headPic==null?'img/tx.png':userData.headPic}}" alt="" style="margin-top:0px;clear: both;" ng-click="gouseredit()">
        <p style="color:#fff;font-size:13px" ng-bind="userData.isRealNameAuthentication==null?userData.telephone:userData.userName" ng-click="gouseredit()"></p>
        <p style="color:#fff;font-size:12px;display:block;
white-space:nowrap;padding:0 20px;
overflow:hidden;
text-overflow:ellipsis;" ng-bind="userData.signature" ng-click="gouseredit()"></p>
        <div class="u_gns">
          <div class="u_fsgz" ng-click="goattentionlist()">
            <h4>我的关注</h4>
            <p ng-bind="userData.friendVO.attentionsCount">0</p>
          </div>
          <div class="u_fsgz" ng-click="gofanslist()">
            <h4>我的粉丝</h4>
            <p ng-bind="userData.friendVO.fansCount">0</p>
          </div>
        </div>
      </div>
    </div>
    <style>
    .u_menus .u_menubg .u_menu {
      height: {{(config.appWidth-10)/4-6}}px;
    }

    .u_menus .u_menubg .u_menu img {
      /*margin: {{((config.appWidth-10)/4-20-30)/2}}px 0;*/
      margin-top: {{((config.appWidth-16)/4-56)/2}}px;
    }

    </style>
    <div class="u_menus">
      <div class="u_menubg">
        <a class="u_menu" ng-click="gouseredit()">
        <img src="img/user/m1.png" alt="">
        <p>账号信息</p>
        </a>
      </div>
      <div class="u_menubg">
        <a class="u_menu" ng-click="gomessagelist()">
        <img src="img/user/m2.png" alt="">
        <p>消息通知</p>
        </a>
      </div>
      <div class="u_menubg">
        <a class="u_menu" ng-click="goorderway()">
        <img src="img/user/m3.png" alt="">
        <p>我的订单</p>
        </a>
      </div>
      <div class="u_menubg">
        <a class="u_menu" ng-click="gomoney()">
        <img src="img/user/m4.png" alt="">
        <p>我的钱包</p>
        </a>
      </div>
      <div class="u_menubg">
        <a class="u_menu" ng-click="goauthselect()">
        <img src="img/user/m5.png" alt="">
        <p>我的认证</p>
        </a>
      </div>
      <div class="u_menubg">
        <a class="u_menu" href="#/article/1">
        <img src="img/user/m6.png" alt="">
        <p>平台声明</p>
        </a>
      </div>
      <div class="u_menubg" ng-if="config.isShowThreePartShare">
        <a class="u_menu" ng-click="shareAPP()">
        <img src="img/user/m7.png" alt="">
        <p>我要分享</p>
        </a>
      </div>
      <div class="u_menubg">
        <a class="u_menu" href="#/setting">
        <img src="img/user/m8.png" alt="">
        <p>系统设置</p>
        </a>
      </div>
    </div>
    <div class="u_loginout">
      <button  class="button button-calm button-full none {{config.isLogined?'block':''}}" ng-click="loginOut()">退出登录</button>
      <button  class="button button-calm button-full none {{!config.isLogined?'block':''}}" ng-click="gologin()">登录</button>
    </div>
  </ion-content>

  <!-- 分享界面 -->
  <script id="userShare.html" type="text/ng-template">
    <div class="modelbg" ng-click="closeuserShareModel()"></div>
    <div class="userShareModel">
      <div style="    background-color: initial;">
        <div class="us_bg">
          <div class="us_ti">
            分享
          </div>
          <div class="us_tilis">
            <div class="us_tili" ng-click="share_wechat()">
              <img src="img/other/fenxiang-weixin@3x.png" alt="">
              <p>微信</p>
            </div>
            <div class="us_tili" ng-click="share_wechat_life()">
              <img src="img/other/fenxiamg-pengyouquan@3x.png" alt="">
              <p>朋友圈</p>
            </div>
            <!-- <div class="us_tili" ng-click="share_qq()">
              <img src="img/other/fenxiang-qq@3x.png" alt="">
              <p>QQ</p>
            </div>
            <div class="us_tili" ng-click="share_weibo()">
              <img src="img/other/fenxiang-wobo@3x.png" alt="">
              <p>微博</p>
            </div> -->
          </div>
        </div>
      </div>
    </div>
  </script>

</ion-view>
